package org.jash.learnmvp.news;

import org.jash.learnmvp.entity.NewsDetailEntity;
import org.jash.learnmvp.mvp.BaseModel;

import io.reactivex.rxjava3.core.Observable;

public class NewsDetailModel extends BaseModel implements ConStruct.INewsDetailModel {
    @Override
    public Observable<NewsDetailEntity> getNewsDetail(int id) {
        return service.getNewsDetail(id);
    }
}
